import {Component} from '@angular/core';
import {Router} from "@angular/router";
import {WsService} from "./service/ws.service";

@Component({
  selector: 'app-root',
  templateUrl: './app.component.html',
  styleUrls: ['./app.component.scss']
})
export class AppComponent {
  isCollapsed = false;

  constructor(private router: Router) {
  }

  openTab(path: string) {
    this.router.navigateByUrl(path).finally();
  }

}
